home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / basic / ace_final.lha / ACE_GPL_Release / include / resources / filesysres.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-29  |  2.1 KB  |  69 lines

  1. #ifndef RESOURCES_FILESYSRES_H
  2. #define RESOURCES_FILESYSRES_H 1
  3. /*
  4. ** filesysres.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for filesysres.h
  17. */
  18. #ifndef FileSysEntryPtr
  19. #define FileSysEntryPtr ADDRESS
  20. #endif
  21. #ifndef FileSysResourcePtr
  22. #define FileSysResourcePtr ADDRESS
  23. #endif
  24. /*
  25. ** End of StructPointer defines for filesysres.h
  26. */
  27.  
  28.  
  29. #ifndef EXEC_NODES_H
  30. #include    <exec/nodes.h>
  31. #endif
  32. #ifndef EXEC_LISTS_H
  33. #include    <exec/lists.h>
  34. #endif
  35. #ifndef DOS_DOS_H
  36. #include    <dos/dos.h>
  37. #endif
  38.  
  39. #define FSRNAME "FileSystem.resource"
  40.  
  41. STRUCT FileSysResource  
  42.     Node fsr_Node        /* on resource list */
  43.     ADDRESS   fsr_Creator         /* name of creator of this resource */
  44.     _List fsr_FileSysEntries  /* list of FileSysEntry structs */
  45. END STRUCT 
  46.  
  47. STRUCT FileSysEntry  
  48.     Node fse_Node    /* on fsr_FileSysEntries list */
  49.                 /* ln_Name is of creator of this entry */
  50.     LONGINT   fse_DosType     /* DosType of this FileSys */
  51.     LONGINT   fse_Version     /* Version of this FileSys */
  52.     LONGINT   fse_PatchFlags  /* bits set for those of the following that */
  53.                 /*   need to be substituted into a standard */
  54.                 /*   device node for this file system: e.g. */
  55.                 /*   &H180 for substitute SegList & GlobalVec */
  56.     LONGINT   fse_Type        /* device node type: zero */
  57.     ADDRESS    fse_Task        /* standard dos "task" FIELD */
  58.     ADDRESS    fse_Lock        /* not used for devices: zero */
  59.     ADDRESS    fse_Handler     /* filename to loadseg (if SegList is null) */
  60.     LONGINT   fse_StackSize   /* stacksize to use when starting task */
  61.     LONGINT    fse_Priority    /* task priority when starting task */
  62.     ADDRESS    fse_Startup     /* startup msg: FileSysStartupMsg for disks */
  63.     ADDRESS    fse_SegList     /* code to run to start new task */
  64.     ADDRESS    fse_GlobalVec   /* BCPL global vector when starting task */
  65.     /* no more entries need exist than those implied by fse_PatchFlags */
  66. END STRUCT 
  67.  
  68. #endif  /* RESOURCES_FILESYSRES_H */
  69.